#include "net/tcpserver.h"
#include "net/connect.h"
#include "base/timer.h"
#include "base/eventloop.h"
#include "util/mutex.h"
#include "base/log.h"
#include "base/logthread.h"
#include "MyRpc/message.h"
#include "MyRpc/rpc.h"
#include "MyRpc/rpccall.hpp"

myrpc::Message *message = nullptr;

int main(int argc, char *argv[])
{
    net_tools::Config config("Server");
    net_tools::Logthread log;
    net_tools::Tcpserver tcp;
    for (int count = 0; count < 10000000; ++count)
    {
        NT_LOG_INFO << count << NT_LOG_ENDL;
    }
    tcp.Initserver(2, 0);
    tcp.Startserver();
};